package com.java.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/***
 * 销售单  销售订单管理员同意后进入的页面
 */
public class Maker3 {
    private Integer m3id;
    private Integer m1id;
    private String document1;//商品编号  maker1的编号
    private String document2;//关联编号  maker2的编号
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date data3;//业务日期
    private String forname;//客户名称
    private String goods;//销售商品
    private Integer num;//数量
    private Double countmoney;//总价格
    private Double discountmoney;//实收金额
    private Integer okandno;//是否退货  0不退  1退货

    @Override
    public String toString() {
        return "Maker3{" +
                "m3id=" + m3id +
                ", m1id=" + m1id +
                ", document1='" + document1 + '\'' +
                ", document2='" + document2 + '\'' +
                ", data3=" + data3 +
                ", forname='" + forname + '\'' +
                ", goods='" + goods + '\'' +
                ", num=" + num +
                ", countmoney=" + countmoney +
                ", discountmoney=" + discountmoney +
                ", okandno=" + okandno +
                '}';
    }

    public Integer getM1id() {
        return m1id;
    }

    public void setM1id(Integer m1id) {
        this.m1id = m1id;
    }

    public Integer getM3id() {
        return m3id;
    }

    public void setM3id(Integer m3id) {
        this.m3id = m3id;
    }

    public String getDocument1() {
        return document1;
    }

    public void setDocument1(String document1) {
        this.document1 = document1;
    }

    public String getDocument2() {
        return document2;
    }

    public void setDocument2(String document2) {
        this.document2 = document2;
    }

    public Date getData3() {
        return data3;
    }

    public void setData3(Date data3) {
        this.data3 = data3;
    }

    public String getForname() {
        return forname;
    }

    public void setForname(String forname) {
        this.forname = forname;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getCountmoney() {
        return countmoney;
    }

    public void setCountmoney(Double countmoney) {
        this.countmoney = countmoney;
    }

    public Double getDiscountmoney() {
        return discountmoney;
    }

    public void setDiscountmoney(Double discountmoney) {
        this.discountmoney = discountmoney;
    }

    public Integer getOkandno() {
        return okandno;
    }

    public void setOkandno(Integer okandno) {
        this.okandno = okandno;
    }
}
